
{extend name="layout"}
{block name="detail"}
<header class="aui-header-default aui-header-fixed aui-header-bg">
    <a href="" class="aui-header-item" style="visibility:hidden;">
        <i class="aui-icon aui-icon-back-white"></i>
    </a>
    <div class="aui-header-center aui-header-center-clear">
        <div class="aui-header-center-logo">
            <div class="aui-car-white-Typeface">商品评价</div>
        </div>
    </div>
    <a href="#" class="aui-header-item-icon" style="min-width:0;visibility:hidden;">
        <i class="aui-icon aui-icon-member"></i>
    </a>
</header>
<section class="aui-myOrder-content">
    <div class="m-tab demo-small-pitch" data-ydui-tab>
        <div class="aui-myOrder-fix">
            <ul class="tab-nav">
                <li class="tab-nav-item "><a href="{:url('index/center/saleWaitSend')}">待发货</a></li>
                <li class="tab-nav-item "><a href="{:url('index/center/saleWaitReceive')}">待收货</a></li>
                <li class="tab-nav-item " ><a href="{:url('index/center/saleSuccess')}">已完成</a></li>
                <li class="tab-nav-item " ><a href="{:url('index/center/saleWaitRefund')}">待退款</a></li>
                <li class="tab-nav-item tab-active"><a href="{:url('index/center/saleComment')}">商品评价</a></li>
            </ul>
        </div>
        <div class="tab-panel">
            <div class="tab-panel-item tab-active">
                {volist name="comments" id="comment"}
                <section class="aui-card-content">
                    <div class="aui-card-box">
                        <div class="aui-card-box-user">
                            <img src="{$comment.productImg}">
                        </div>
                        <div class="aui-card-box-name">
                            <h2 class="aui-card-box-name">
                                {$comment.title}
                            </h2>
                            <span class="aui-card-box-btn" style="border:none;color:#000;">
                               {$commentType[$comment['cType']]}
                            </span>
                        </div>
                        <div class="aui-card-box-time">
                            {$comment.createTime|date="Y-m-d H:i:s",###}
                        </div>
                    </div>
                    <div class="aui-card-media">
                        <div class="aui-card-media-inner">

                            <div class="aui-card-media-describe" style="margin-bottom:5px;">
                                <div class="aui-list-title-btn" style="text-align:left;">
                                    <img src="{$comment.img}" alt="">
                                </div>
                            </div>
                            <div class="aui-card-media-text">
                                <p>{$comment.content}</p>
                            </div>
                        </div>
                    </div>
                </section>
                <div class="aui-dri"></div>
                {/volist}
            </div>
        </div>
    </div>
</section>
<div style="height:100px;"></div>
{/block}